<h2 class="contentTitle">内容编辑</h2>
<div class="pageContent">
	<form
	<?php foreach ($form->attrs() as $attr => $value): $value = h($value); echo "{$attr}=\"{$value}\" "; endforeach; ?>>
		<div class="pageFormContent" layoutH="97">
			<table width="100%">
			<?php foreach ($form->elements() as $element):?>
				<tr>
					<td>
						<dl <?php echo $element->_ui == 'memo'?'class="nowrap"':''?>
							style="width: auto">
							<dt>
								<span style="float: right"><?php echo $element->_label?> </span>
							</dt>
							<dt style="width: auto">
							<?php echo Q::control($element->_ui, $element->id, $element->attrs());?>
							</dt>
						</dl></td>
				</tr>
				<?php endforeach;?>
			</table>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
